import { createStore } from 'vuex';

export default createStore({
  state() {
    return {
      num: 10
    }
  },
  mutations: {
    setNum(state, num) {
      state.num = num;
    }
  }
})